﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lambda
{
    class Program
    {
        static void Main(string[] args)
        {
            #region 扩展方法


            {
                int? ivalue = null;
                int? ivalue2 = 1;

                ivalue.ToDateTime(1);
                ivalue2.ToDateTime(1);

                int i = ExtendShow.ToInt(ivalue);


                int i2 = ivalue.ToInt();

                new Action(() => { }).Execute();
            }
            #endregion
        }
    }
}
